[NTG-context] mframed and alignment width

2022-07-14 Thread Hans-Joerg Schurr via ntg-context
Hello everyone, I'm using \startaligned with pairs and a distance to represent inference steps, one per row. Now I would like to sometimes add a vertical bar to the left of the rows and one below the last row. I was able to achieve this using \mframed, but now the contented inside the framed box

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-22 Thread Otared Kavian
, at 22:18, Aditya Mahajan adit...@umich.edu wrote: On Mon, 21 Oct 2013, Otared Kavian wrote: Dear Hans, I noticed a difference between mkii and mkiv in the behavior of \mframed: it seems that in mkiv the frame is not vertically aligned with the the + sign in the following example (or rather

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-22 Thread Aditya Mahajan
On Tue, 22 Oct 2013, Otared Kavian wrote: Hi Aditya, I wikified your remarks, http://wiki.contextgarden.net/Math/Display#Shaded_background_for_part_of_a_displayed_equation Rather than \def\graymath{\mframed[frame=off, background=color, backgroundcolor=gray

[NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Otared Kavian
Dear Hans, I noticed a difference between mkii and mkiv in the behavior of \mframed: it seems that in mkiv the frame is not vertically aligned with the the + sign in the following example (or rather it is not vertically centered, please see the attached PDF produced with ConTeXt ver

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Aditya Mahajan
On Mon, 21 Oct 2013, Otared Kavian wrote: Dear Hans, I noticed a difference between mkii and mkiv in the behavior of \mframed: it seems that in mkiv the frame is not vertically aligned with the the + sign in the following example (or rather it is not vertically centered, please see

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Otared Kavian
Thanks Aditya! I overlooked this change in mkivā€¦ Best regards: OK On 21 oct. 2013, at 22:18, Aditya Mahajan adit...@umich.edu wrote: On Mon, 21 Oct 2013, Otared Kavian wrote: Dear Hans, I noticed a difference between mkii and mkiv in the behavior of \mframed: it seems that in mkiv

[NTG-context] Wrong location of mframed

2011-01-22 Thread Aditya Mahajan
Hi, In MkIV, \mframed does not place the result in the middle of the math axis. Consider, \starttext \startformula f(x) = \mframed{\frac{1}{2}}^{\mframed{\frac{1}{2}}} \stopformula \stoptext The MkII and MkIV results are attached. Adityaattachment: test-mkii.pngattachment: test

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[frame=off,background=color,backgroundcolor=gray]{C} \stopformula

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Alan BRASLAU
On Monday 11 May 2009 15:40:04 Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[frame=off,background

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 11 May 2009, Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed

[NTG-context] mframed (mkiv) bug

2009-05-10 Thread Alan BRASLAU
\mframed misbehaves under mkiv (latest minimals) minimal example: \setupcolors[state=start] \starttext \mframed[frame=off,background=color,backgroundcolor=yellow]{k_2 \propto \langle N \rangle^{\alpha}} \stoptext - framed text, white background (works correctly under mkii: no frame, yellow

[NTG-context] mframed setup

2006-01-12 Thread Aditya Mahajan
What is the \setup... command that can be used to configure the frames typeset by \mframed? Thanks, Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] mframed setup

2006-01-12 Thread Taco Hoekwater
Aditya Mahajan wrote: What is the \setup... command that can be used to configure the frames typeset by \mframed? There is no such command, so just use the optional argument to \mframed, like: $$ \mframed[framecolor=red]{E=mc^2} $$ Cheers, Taco

[NTG-context] Re: Some $\mframed{math}$ questions

2005-12-03 Thread Aditya Mahajan
--- On Dec 2, Mojca Miklavec wrote --- 1. What's the best way to frame a formula like here: \placeformula \startformula \mframed{x^2+y^2=z^2} \stopformula The problem is that: - formula number is shifted downwards in comparison to the formula without a number - I don't know how to do

[NTG-context] Some $\mframed{math}$ questions

2005-12-02 Thread Mojca Miklavec
Hello, I would like to ask a couple of questions about frames and numbers in math formulas. 1. What's the best way to frame a formula like here: \placeformula \startformula \mframed{x^2+y^2=z^2} \stopformula The problem is that: - formula number is shifted downwards in comparison

[NTG-context] Re: Some $\mframed{math}$ questions

2005-12-02 Thread Aditya Mahajan
--- On Dec 2, Mojca Miklavec wrote --- 1. What's the best way to frame a formula like here: \placeformula \startformula \mframed{x^2+y^2=z^2} \stopformula The problem is that: - formula number is shifted downwards in comparison to the formula without a number - I don't know how to do